package com.wxj.book.service;

import com.wxj.book.pojo.Borrow;
import com.wxj.book.pojo.User;

public interface BorrowService {
    Borrow getByBookId(Integer bookId, Integer stuNum);

    int insert(User user, Integer bookId);

    int getCountByStuNum(Integer stuNum);

    int backBook(Integer bookId, Integer stuNum);
}
